package com.example.lib;

public class MyClass {
    public static void main(String[] args) {
        Factory factory = new HPComputerFactory();
        Factory factory1 = new LenoveComputerFactory();
        Product product = factory.Create();
        Product product1 = factory1.Create();
        product.Print();
        product1.Print();
    }
}
